package com.jk.dmconsumer.controller;

import com.jk.dmcommon.entity.EvaEntity;
import com.jk.dmconsumer.service.EvaService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import javax.xml.ws.Action;

/**
 * @描述
 * @参数 $
 * @返回值 $
 * @创建人 lgf
 * @创建时间 $
 * @修改人和其它信息
 */
@RestController
@RequestMapping("evaluate")
public class EvaController {
    @Resource
    private EvaService evaService;

    @RequestMapping("findEva")
    public Object findEva(){
        return evaService.findEva();
    }

    @RequestMapping("add")
    public void add(EvaEntity ev){
        evaService.add(ev);
    }




}
